package com.shaw.workrecord.pojo.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NonNull;

import javax.validation.constraints.NotNull;

@Data
@ApiModel("登录请求对象")
public class LoginRequest {

    @NotNull
    @ApiModelProperty(value = "账号", required = true)
    private String account;

    @NotNull
    @ApiModelProperty(value = "密码", required = true)
    private String password;
}
